package _07BuilderDesignPattern;

public class ConcreateBuilder implements Builder {
    Computer computer=new Computer();
    public void BuildCPU() {
        computer.add("组装CPU");
    }

    public void BuildMainboard() {
        computer.add("组装主板");
    }

    public void BuildHD() {
        computer.add("组装硬盘");
    }

    public Computer getComputer() {
        return this.computer;
    }
}
